<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CUDNN Frontend API: nlohmann::detail::input_stream_adapter Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUDNN Frontend API
   &#160;<span id="projectnumber">8.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d8/d91/classnlohmann_1_1detail_1_1input__stream__adapter-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nlohmann::detail::input_stream_adapter Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for nlohmann::detail::input_stream_adapter:</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/d44/classnlohmann_1_1detail_1_1input__stream__adapter__coll__graph.png" border="0" usemap="#nlohmann_1_1detail_1_1input__stream__adapter_coll__map" alt="Collaboration graph"/></div>
<map name="nlohmann_1_1detail_1_1input__stream__adapter_coll__map" id="nlohmann_1_1detail_1_1input__stream__adapter_coll__map">
<area shape="rect" id="node2" title="STL class. " alt="" coords="37,400,128,477"/>
<area shape="rect" id="node3" title="STL class. " alt="" coords="18,259,147,351"/>
<area shape="rect" id="node4" title="STL class. " alt="" coords="5,132,160,209"/>
<area shape="rect" id="node5" title="STL class. " alt="" coords="33,5,133,83"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a72f0713587f6bb3f3fbaae7d34c0ca39"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#a72f0713587f6bb3f3fbaae7d34c0ca39">char_type</a> = char</td></tr>
<tr class="separator:a72f0713587f6bb3f3fbaae7d34c0ca39"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1d29416acc75b02bfaf251d9d8ef8f36"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#a1d29416acc75b02bfaf251d9d8ef8f36">~input_stream_adapter</a> ()</td></tr>
<tr class="separator:a1d29416acc75b02bfaf251d9d8ef8f36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af487152e4606d013eb4ec6a90eaf82ea"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#af487152e4606d013eb4ec6a90eaf82ea">input_stream_adapter</a> (std::istream &amp;i)</td></tr>
<tr class="separator:af487152e4606d013eb4ec6a90eaf82ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5190fe4d0c5ff2e3b348b28ee3bb2218"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#a5190fe4d0c5ff2e3b348b28ee3bb2218">input_stream_adapter</a> (const <a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;)=delete</td></tr>
<tr class="separator:a5190fe4d0c5ff2e3b348b28ee3bb2218"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeac5048221929b8f7558d1698dd0fb3a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#aeac5048221929b8f7558d1698dd0fb3a">operator=</a> (<a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;)=delete</td></tr>
<tr class="separator:aeac5048221929b8f7558d1698dd0fb3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3577dff99cc91968557b52959b0363e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#a3577dff99cc91968557b52959b0363e4">operator=</a> (<a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:a3577dff99cc91968557b52959b0363e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0be44ef098e88e8453eb4c31c9b14421"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#a0be44ef098e88e8453eb4c31c9b14421">input_stream_adapter</a> (<a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;&amp;rhs) noexcept</td></tr>
<tr class="separator:a0be44ef098e88e8453eb4c31c9b14421"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6c760c5df3a85b5800b4271c09e8671"><td class="memItemLeft" align="right" valign="top">std::char_traits&lt; char &gt;::int_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#ac6c760c5df3a85b5800b4271c09e8671">get_character</a> ()</td></tr>
<tr class="separator:ac6c760c5df3a85b5800b4271c09e8671"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a55893bf84cb17d877464984942df9632"><td class="memItemLeft" align="right" valign="top">std::istream *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#a55893bf84cb17d877464984942df9632">is</a> = nullptr</td></tr>
<tr class="memdesc:a55893bf84cb17d877464984942df9632"><td class="mdescLeft">&#160;</td><td class="mdescRight">the associated input stream  <a href="#a55893bf84cb17d877464984942df9632">More...</a><br /></td></tr>
<tr class="separator:a55893bf84cb17d877464984942df9632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa94582dc8262cf35dfcfbe7b7fcd6c6c"><td class="memItemLeft" align="right" valign="top">std::streambuf *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#aa94582dc8262cf35dfcfbe7b7fcd6c6c">sb</a> = nullptr</td></tr>
<tr class="separator:aa94582dc8262cf35dfcfbe7b7fcd6c6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Input adapter for a (caching) istream. Ignores a UFT Byte Order Mark at beginning of input. Does not support changing the underlying std::streambuf in mid-input. Maintains underlying std::istream and std::streambuf to support subsequent use of standard std::istream operations to process any input characters following those used in parsing the JSON input. Clears the std::istream flags; any input errors (e.g., EOF) will be detected by the first subsequent call for input from the std::istream. </p>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05297">5297</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a72f0713587f6bb3f3fbaae7d34c0ca39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72f0713587f6bb3f3fbaae7d34c0ca39">&#9670;&nbsp;</a></span>char_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html#a72f0713587f6bb3f3fbaae7d34c0ca39">nlohmann::detail::input_stream_adapter::char_type</a> =  char</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05300">5300</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1d29416acc75b02bfaf251d9d8ef8f36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d29416acc75b02bfaf251d9d8ef8f36">&#9670;&nbsp;</a></span>~input_stream_adapter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">nlohmann::detail::input_stream_adapter::~input_stream_adapter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05302">5302</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="af487152e4606d013eb4ec6a90eaf82ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af487152e4606d013eb4ec6a90eaf82ea">&#9670;&nbsp;</a></span>input_stream_adapter() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">nlohmann::detail::input_stream_adapter::input_stream_adapter </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05312">5312</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="a5190fe4d0c5ff2e3b348b28ee3bb2218"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5190fe4d0c5ff2e3b348b28ee3bb2218">&#9670;&nbsp;</a></span>input_stream_adapter() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">nlohmann::detail::input_stream_adapter::input_stream_adapter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0be44ef098e88e8453eb4c31c9b14421"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0be44ef098e88e8453eb4c31c9b14421">&#9670;&nbsp;</a></span>input_stream_adapter() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">nlohmann::detail::input_stream_adapter::input_stream_adapter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05321">5321</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac6c760c5df3a85b5800b4271c09e8671"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6c760c5df3a85b5800b4271c09e8671">&#9670;&nbsp;</a></span>get_character()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::char_traits&lt;char&gt;::int_type nlohmann::detail::input_stream_adapter::get_character </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05331">5331</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

<p class="reference">References <a class="el" href="../../d5/db8/json_8hpp_source.html#l01564">JSON_HEDLEY_UNLIKELY</a>.</p>

</div>
</div>
<a id="aeac5048221929b8f7558d1698dd0fb3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeac5048221929b8f7558d1698dd0fb3a">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a>&amp; nlohmann::detail::input_stream_adapter::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3577dff99cc91968557b52959b0363e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3577dff99cc91968557b52959b0363e4">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a>&amp; nlohmann::detail::input_stream_adapter::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a55893bf84cb17d877464984942df9632"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55893bf84cb17d877464984942df9632">&#9670;&nbsp;</a></span>is</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::istream* nlohmann::detail::input_stream_adapter::is = nullptr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>the associated input stream </p>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05344">5344</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="aa94582dc8262cf35dfcfbe7b7fcd6c6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa94582dc8262cf35dfcfbe7b7fcd6c6c">&#9670;&nbsp;</a></span>sb</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::streambuf* nlohmann::detail::input_stream_adapter::sb = nullptr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05345">5345</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d3/d9b/namespacenlohmann.html">nlohmann</a></li><li class="navelem"><a class="el" href="../../dc/df0/namespacenlohmann_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="../../db/df0/classnlohmann_1_1detail_1_1input__stream__adapter.html">input_stream_adapter</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
